import request from "../utils/request";


export const adminLogin = (id, password) => {
    const params = new URLSearchParams()
    params.append('userId', parseInt(id))
    params.append('password', password)
    return request.put("/admin/login", params)
}